# -*- coding: utf-8 -*-
# @Time    : 2022/7/15 21:44
# @Author  : vvh
# @Email   : 2647167477@qq.com
# @File    : goods_page.py
# @Software: PyCharm
from selenium import webdriver
from selenium.webdriver.common.by import By
from pages.base_pageage import BasePage
class GoodsPage(BasePage):
    """产品页类"""
    # 产品页定位器
    add_goods_btn_locator = (By.CSS_SELECTOR, 'body > div.container > div.row > div:nth-child(2) > div.pull-right > a')

    def switch_add_good_page(self):
        """点击进入产品添加页"""